<script setup lang="ts">
import { RouterLink } from 'vue-router'
import useStore from '@/stores'
import { storeToRefs } from 'pinia';
let { home } = useStore()
home.userDate()

const { banner } = storeToRefs(home)
</script>

<template>
  <div>首页</div>
  <div>保存git 创建分支</div>
  <div v-for="item in banner" :key="item.id">{{ item.name }}</div>
  <RouterLink to="/about">跳转其它页</RouterLink>
</template>
